package com.vows.sysmang.login;

import com.vows.sysmang.base.model.User;
import com.vows.sysmang.base.service.UserServiceInterface;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * 项目: webbit-web
 * 所属包: com.vows.sysmang.login
 * 描述: 登陆
 * authur:vows
 * 创建日期:2017年6月4日-下午4:31:54
 * 2017  PD.Sp Center . GDT Co.Ltd  -版权所有
 * 
 */
@Controller
//@RequestMapping("/login")
public class LoginController {
	private Logger logger = LoggerFactory.getLogger(LoginController.class);
	@Autowired
	@Qualifier("userService")
	UserServiceInterface userService ;
	
	@RequestMapping(value={"/login","/"})
	public String login(HttpServletRequest hsr){
		return null;
	}
	@RequestMapping(value="user")
	public User user(User user,HttpServletRequest hsr){
		logger.info("aya");
		return null;
	}
}
